package sweet.mvc.api

trait Interceptor{
  def beforeReq(req: Req): Option[View]
  def afterReq(req: Req): Unit
}

trait BeforeInterceptor extends Interceptor {
  def afterReq(req: Req){}  
}
